﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage/MasterPage1.master" AutoEventWireup="true" CodeFile="dang-ky.aspx.cs" Inherits="User_dang_ky" Title="Đăng ký thành viên" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <link href="../CSS/user.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div id="this-container">
        <div class="this-header" style="width:974px">
            <p style="float:left;margin-left:10px;line-height:49px;font-size:14px;font-weight:bold;color:#6a6b6c">
                Đăng ký tài khoản
            </p>
            <p style="float:right;line-height:49px;margin-right:10px;">
                Đã có tài khoản ? <img alt="" runat="server" src="~/Images/login-icon.png" style="margin:4px;margin-bottom:-1px;" /> <a runat="server" href="~/User/dang-nhap.aspx" style="color:#04a0fa">Đăng nhập</a>
            </p>
        </div>
        <div id="this-form">
            <div style="width:600px;margin-left:300px;margin-top:30px;padding-bottom:15px;">
                <span>Tên hiển thị</span><br />
                <asp:TextBox CssClass="this-textbox" ID="txtDisplayName" runat="server"> </asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ErrorMessage="*" Display="Dynamic" ControlToValidate="txtDisplayName" 
                    Font-Italic="True" ForeColor="#898989"></asp:RequiredFieldValidator>
                <br />
                
                <span>Email</span><br />
                <asp:TextBox CssClass="this-textbox" ID="txtEmail" runat="server"> </asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="*" ControlToValidate="txtEmail" ForeColor="#898989"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" 
                    ControlToValidate="txtEmail" ErrorMessage="Email không hợp lệ" 
                    ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" 
                    Display="Dynamic" Font-Bold="False" Font-Italic="True" ForeColor="#898989"></asp:RegularExpressionValidator>
                <br />
                <span>Mật khẩu</span> <br />
                <asp:TextBox CssClass="this-textbox" ID="txtPassword" runat="server" 
                    TextMode="Password"> </asp:TextBox><asp:RequiredFieldValidator ID="RequiredFieldValidator3"
                        runat="server" ErrorMessage="*" ControlToValidate="txtPassword" ForeColor="#898989"></asp:RequiredFieldValidator><br />
                <span>Xác nhận mật khẩu</span><br />
                <asp:TextBox CssClass="this-textbox" ID="txtRePassword" runat="server" 
                    TextMode="Password"> </asp:TextBox><asp:RequiredFieldValidator ID="RequiredFieldValidator4"
                        runat="server" ErrorMessage="*" ControlToValidate="txtRePassword" ForeColor="#898989"></asp:RequiredFieldValidator>
                <asp:CompareValidator ID="CompareValidator1" ControlToValidate="txtRePassword" ControlToCompare="txtPassword" runat="server" ErrorMessage="Password không đúng" Font-Bold="false" Font-Italic="true" ForeColor="#898989"></asp:CompareValidator>
                <p style="color:#898989">
                    Bằng việc đăng ký bạn đã đồng ý với <a href="#" style="color:#0072bc">Thỏa Thuận Sử Dụng Phố Ẩm Thực </a>
                </p>
                <p style="margin-top:15px;margin-bottom:20px;">
                    <asp:Button ID="btnDangky" CssClass="this-Nutdangky" runat="server" 
                        Text="Đăng ký" onclick="btnDangky_Click" />
                    <asp:Button ID="btnHuy" runat="server" Text="Hủy" CssClass="this-Nuthuy" 
                        onclick="btnHuy_Click" CausesValidation="false" />
                </p>
                <span>
                    <asp:Label ID="lblInfo" runat="server" ForeColor="#333333"></asp:Label></span>
            </div>
        </div>
    </div>
</asp:Content>

